﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ObjectDataSource ID="ObjectDataSourceAuthors" runat="server" 
        SelectMethod="GetAuthorTitles" TypeName="PubsService.Authors">
        <SelectParameters>
            <asp:Parameter DefaultValue="0" Name="authorId" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        DataSourceID="ObjectDataSourceAuthors">
    </asp:GridView>
</asp:Content>
